<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'secAddBook.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
    This is my JSP page. <br>
  <form action="book/addBooks" method="get">
   <table border="1">
   		<tr>
   			<td colspan="2"><h1>增加图书</h1></td>
   		</tr>
   		<tr>
   			<td>图书名称(*)</td>
   			<td><input tpye="text" name="title" id="title"></input></td>
   		</tr>
   		<tr>
   			<td>图书摘要:</td>
   			<td><textarea name="summary"></textarea></td>
   		</tr>
   		<tr>
   			<td>上传人：</td>
   			<td><input tpye="text" name="uploaduser" id="uploaduser"></input></td>
   		</tr>
   		<tr>
   			<td>上传时间：</td>
   			<td><input tpye="text" name="createdate" id="createdate"></input>(yyyy-MM-dd)</td>
   		</tr>
   		<tr>
   			<td>图书类型</td>
   			<td><select name="categoryId" id="categoryId">
						<option value="0" selected="selected">请选择类型</option>
						<option value="1">神经学</option>
			    		<option value="2">白学</option>
			    		<option value="3" >吾学</option>
					</select>
			</td>
   		</tr>
   		<tr><td colspan="2"><input type="submit" value="提交"><input type="button" value="返回"></td></tr>
  	 </table>
   </form>
  </body>
</html>
